Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add <content></content> to allow content injection in paper-input #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mobula
Copy link

@mobula mobula commented Jul 26, 2017

A small change that allows injecting custom content.
See for instance paper-tags-typeahead prototype created by combining paper-typeahead with PolymerEl/paper-tags.

@cheonhyangzhang
Copy link
Owner

@mobula
Can you explain what's the use case for this?

@mobula
Copy link
Author

mobula commented Jul 28, 2017

My use case was to combine typeahead with a tags component such as paper-tags. you type and get suggestions as if you were using typeahead, but if you select the component, it becomes a tag. and so on.

<paper-typeahead-tags>
   <paper-typeahead-input>
      <paper-tags>...</paper-tags>
   </paper-typeahead-input>
</paper-typeahead-tags>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants